package com.lxw.report.engine.dataModel;

import com.lxw.report.engine.dataModel.Style;

import java.util.ArrayList;
import java.util.List;

/**
 * 报表表头配置
 * @author lxw
 */
public class ReportHeader {

    /**
     * 是否含有斜表头
     */
    private boolean hasOblique=false;

    /**
     * 斜表头单元格长度
     */
    private int obliqueCellLength=1;

    /**
     * 斜表头单元格高度
     */
    private int obliqueCellHeight=1;

    /**
     * 斜表头文本列表
     */
    private List<String> obliqueTextList=new ArrayList<>();

    /**
     * 表头文本
     */
    private String text;

    /**
     * 表头样式
     */
    private Style style;

    public boolean isHasOblique() {
        return hasOblique;
    }

    public void setHasOblique(boolean hasOblique) {
        this.hasOblique = hasOblique;
    }

    public int getObliqueCellLength() {
        return obliqueCellLength;
    }

    public void setObliqueCellLength(int obliqueCellLength) {
        this.obliqueCellLength = obliqueCellLength;
    }

    public int getObliqueCellHeight() {
        return obliqueCellHeight;
    }

    public void setObliqueCellHeight(int obliqueCellHeight) {
        this.obliqueCellHeight = obliqueCellHeight;
    }

    public List<String> getObliqueTextList() {
        return obliqueTextList;
    }

    public void setObliqueTextList(List<String> obliqueTextList) {
        this.obliqueTextList = obliqueTextList;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Style getStyle() {
        return style;
    }

    public void setStyle(Style style) {
        this.style = style;
    }
}
